package org.dreamwork.jasmine2.sample.ajax;

import org.dreamwork.jasmine2.events.EventException;
import org.dreamwork.jasmine2.web.controls.Button;
import org.dreamwork.jasmine2.web.controls.InternalJS;
import org.dreamwork.jasmine2.web.controls.Page;
import org.dreamwork.jasmine2.web.controls.TextBox;

/**
 * Created by IntelliJ IDEA.
 * User: seth.yang
 * Date: 2010-12-15
 * Time: 17:23:01
 */
public class AjaxTest extends Page {
    protected TextBox text1;
    protected Button btn1;

    @Override
    public void onPagePreload (Page page) throws EventException {
/*
        page.registerClientScriptBlock (InternalJS.class, InternalJS.BASE64_JS);
        page.registerClientScriptBlock (InternalJS.class, InternalJS.REFLECT_JS);
*/
    }

    @Override
    public void onPageLoadCompleted (Page page) throws EventException {
    }

    @Override
    public void onPageLoad (Page page) throws EventException {
    }
}